added notify function functionality to notification_message_model