update links and categories