Update product.php

Fix bug with updateProduct