upgrading logic for CRUDr > 0.3.0