Update random map generator. CAUTION : Infinte loop?