Simple version of index_add