changing classmap