update class linkStack