Switch POST to PUT