Update structure.lib.php