update wrt. port and socket file parameters