swapped POST with PUT