Buffer update