Update MessagesAction.java