update request.class.php