Upgrade cookbook for flow