Update app_life_cycle_hooks.rb