changes /add to a PUT request