Update graph schema to latest spec, fixes #199