Get locale from beforeUpdate lifecycle hook

@aique - thanks for the workaround.

I’d also be curious to know why locale isn’t available in the beforeUpdate lifecycle event.