an update corresponded to shock api change (creating index)
Merge pull request #147 from wtangiit/master

an update corresponded to shock api change (creating index)