fix for create_update_plan