Update libraries/layout.php