Rewrote updateLookupWithKey.
Rewrote delete.