edit and update links