updated model objects to support db schema changes (ratings)