mms17: changed model: database methods (2)