allow edit page to change routes