updated bridge stat function