Update deployment based menu_attributes code.