update port definition