fixing the async task of updating stuff