edit routes to views