fixed groupId
Updated document.
Added example code.