Add support to update text index