Fix upgrade examples in cookbook