update append for class