fixed bug where wrong vehicles were getting deleted

when updating vehicle in library, oldKey was being used instead of
newKey to put vehicle back in library