Update number of messages