messageToClient updated