update the number of cookbooks