update swagger and move put and delete into their proper endpoints