update minor 2 entries_controller.php