Add const to physics update function