changes to Stub for update.php