code: func UpdateRoutingProfile(db sqlx.Execer, rp *RoutingProfile) error {
  	rp.UpdatedAt = time.Now()
  	res, err := db.Exec(`
  		update routing_profile set
  			updated_at = $2,
  			as_id = $3,
  			ca_cert = $4,
  			tls_cert = $5,
  			tls_key = $6
  		where
  			routing_profile_id = $1`,
  		rp.ID,
  		rp.UpdatedAt,
  		rp.ASID,
  		rp.CACert,
  		rp.TLSCert,
  		rp.TLSKey,
  	)
  	if err != nil {
  		return handlePSQLError(err, "update error")
  	}
  	ra, err := res.RowsAffected()
  	if err != nil {
  		return handlePSQLError(err, "get rows affected error")
  	}
  	if ra == 0 {
  		return ErrDoesNotExist
  	}
  
  	log.WithField("id", rp.ID).Info("routing-profile updated")
  	return nil
  }
docs: // UpdateRoutingProfile updates the given routing-profile.