Update cal_editor.php