updating links and link style