updating MAX patch