Added functionality so that the constructor of NoteMessage updates the
database, using the DAL