update redis settings in messages_controller.rb