updating the view once the product is saved from server