updating index and some styles