update view and route file