added update to products_controller
merging dan's changes