Update sum after crossing