remove query
update links