update source and manage.php