update messge counts