Add hooks for pre- and post-update in ecs systems