update size of maps