updated the messages controller with the previous changes that were not saved before