Update framework.php