sort classes
remove old classes
update manifest