update size only if truthy