updating buffers in input update functions