Added admin_delete() and admin_update() functions to admin panel