Changed POST to PUT