update main links to have active class