update buffer basics and associated indexes