Updated the path if it exists so only one line displays at a time.