updated model to properly match new database values