Update layout.class.php