fixed error where graphs didn't update after loading new file