get system info and update view
separate generate_graph function
fix conflict