add fucntion to reset statistics for a message