Updates message functionality