switch from post to put and modify documentation