Update router to remove and append views