Use PUT method for update instead of POST