update size check.