added path variable to the PUT method
partial update implemented