update all, add in index