change models to db property