modify tangram interface
Merge pull request #248 from Robinlim/dev

[bug]modify tangram interface