auto-update inventory