update minor entries_controller.php