used buffer in updateBAT1 (which is right version)