edit goes to detail page