Added update function
Added update function

Closes https://github.com/PistonDevelopers/opengl_graphics/issues/48

mitchmindtree/opengl_graphics,PistonDevelopers/opengl_graphics,bvssvni/opengl_graphics,zummenix/opengl_graphics