update the cookbook