small optimizatin to delete function

updates the entity once instead of once per detached component
added break statement