Update works with indexing