updates to counts