abstract database model update