added UpdateCount which has delete and update