add compairUpdate method for unlock update records