updated index content, word array in logic, and stylesheet