update function display in class stack