fixed typo
fixed bad sql query
If the item already exists, look up UPC from item table, not from UPC
API
fixed upc lookup bug