Updated diagram libs to hopefully fix memory leak #225