before hooks on merge now work