Update CoreView.php