Update uniquepath.java