change POST to PUT