changes for updatinf learnLevel