cleaned up the 'update_products' script