Update map class.