change membuffer