update physics and platform generation