Updating links functionality