Updating pre and post stop/start hooks