added route for editDelete