add data files and update index