update flag for netcat