mms17: changed model: database methods