update hidden class