update offlinetask