add relateData support
finish relateData support
Merge pull request #33 from isombyt/relateData

Relate data