Update ShortestPathExample.java