Check index status in updateTableAndWait

 - When only updating secondary indexes the `updateTableAndWait` function returns without checking if the secondary indexes are in an active state. When you immediately try another update it will cause a `ResourceInUse` exception.