update manage.php