Await indexing when updating the schema.
Merge pull request #101 from Battlefy/fix/indexing

Await indexing when updating the schema.