updated index trivially