updated physics, graphics engine