changing edit and raw md routes
adding first draft of edit button function