working on the UI to edit an index