a less intrusive method for refreshing graphs