Change from POST to PUT for updates