update port setting and related doc