update the anchor