update index to remove useless file