updating framebuffer demo