created the route editCollection
added ability to edit a collection