update eww buffer wash function