updated the button for messages