updated the offload class