add unread state of transaction, update transactions dictionary