update edit page routes