clean up udpate index