updates to pyglet