update port range.