Update mod class.