added the api to upload, edit, and delete files
added back in the PUT route