added updateBuffer method to rendering device