Update history only with the right buffer type
Don't pretend up-to-date history