fixed POST to PUT