Update substrate.
Fix error on removeEntity.
Add progress to removeEntity.