edit database classes