text: 
  /**
   * Update the aggregate column in the related <?php echo $relationName ?> object
   *
   * @param PropelPDO $con A connection object
   */
  protected function updateRelated<?php echo $relationName ?>(PropelPDO $con)
  {
      if ($<?php echo $variableName ?> = $this->get<?php echo $relationName ?>()) {
          if (!$<?php echo $variableName ?>->isAlreadyInSave()) {
              $<?php echo $variableName ?>-><?php echo $updateMethodName ?>($con);
          }
      }
      if ($this->old<?php echo $relationName ?>) {
          $this->old<?php echo $relationName ?>-><?php echo $updateMethodName ?>($con);
          $this->old<?php echo $relationName ?> = null;
      }
  }
  