Update Z-distance for thing