Update class definition style using d