updated max patch