Fix indexing for InnoDB
Allow running incremental updates from the command line.