graph updt