update classmap