Update panel_func.php