Updated path on POST request to edit. Added swap files to gitignore