Update Hooks from Bench

Hi,
Can we update Hooks.py from Bench UI using server scripts or client scripts?