updates name of class