change database model