Updating segment to target