Fixed: update_indexer and update_stack

* the indexer wasn't properly updating
* the indexer wasn't updated in the update_stack command