added updateMessageLabel