refactory project_router#edit