Add extra hooks for before ajax updates