update size param to match map