change database model and diagram