modified edit to use PUT route

- modified snippet_edit to use _method to be parsed as a PUT request