Update map and min