Update database model