update index with new copy and styles