Fix new API

- Adjust API submission examples
- fix import json error
- fix updateTags() for taskgroup
- reorganise doc