change note model from RelationModel to Model