updated review calculation algorithm