updated delay and packet loss