update streak calculator