update content of message