bug fixes in admin.js to make sure the admin check actually returns; make sure apiAdminUpdate checks for tasks *after* find() completes