update backlink function.