Optimize minimap update by removing a wrapper instead of all lines