Updates H generic instead of Object as handle of graph