update Graph utility