Add the PUT method in the Ajax service (client side)