update with respect to the appendSymbol function