upload path after each stroke