Update graph and some other fancy shit