async handling of uploads