Fixed a bug where Graphs are not updated, but created again.