Split defining update and render in EntityManager.java