change codebookviews to new layout