Fix issue with putIndexFile upd