mainly update-index