maxmin update