updated dictionary to accounts