update  key