using PUT method with parameters