update package and folder struct