add offset update support.