buffer updated