Can you just call world.edit_component()?