rename a class