completed the api for the update product and tested it