remove useless buftype check
only update if it makes sense