finished update index and destroy