Preview update, dadded option for delete files from index