max class update