Update message_controller.rb