Update saving message in the database