Update map class