update to frame buffer