working for displaying the values in the edit product form from the api