Implemented updateLookupWithKey.