restored the saving of ProductID into Postgres