Update A.txt by adding B