Move 'the ``$this->cart->update()``' to the next line.