changed buffer types