#69

add set chain to onUpdateTaskDelegate