update max patch