Update StringMessage class.