Merge "Update UidRecord when capability changes."