Path updates and fixing the wrapping line problem