commit changes to classes