update links and widget arguments in library.php