rendering is now dependent on update
every update method now accepts delta as an argument