update package and class