Update method changed from POST to PUT