Prepare update functionality on the indexer and the route.

Still needs a delete operation on the index to work properly