completed the api for taking the values from database for the product edit page