added loop skeleton to PhysicsInterface update()