updates app db model