only allow adding classes that exist, and added reset data script