Update statistics