Maintaining Longest Paths Incrementally