change links and retab