fixing links and updating index