fixed comparison svg on load
cleaned up updatePath functions