update local classmap