Update postgres_inventory.py