got physics update loops and external memory writes working