updaitng port config