fixes, query inventory update