Changing controller method from POST to PUT