updates dictionary, but still has discrepancies