updated max compatibility