update links and code