fix issue with incorrect criteria in update