commit updated index