db model update