update buf fix