adding final graph to commit list