Update fance.lib.php