put vs. post edit
added delete functionality