update validation message content