update to index and styles