updating max1