updated reliability calculation