threads: update slice_count and slice_offset from user context