update port etc.