adding update support for indexed data