Updating graph functionality