# Refreshing Current Card

**URL:** <https://forums.ankiweb.net/t/refreshing-current-card/21965>\
**Category:** Add-ons\
**Created:** [August 2, 2022, 1:47pm UTC](https://forums.ankiweb.net/t/refreshing-current-card/21965 "2022-08-02T13:47:03Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![ilker](https://avatars.discourse-cdn.com/v4/letter/i/7993a0/32.png) [@ilker](https://forums.ankiweb.net/u/ilker)\
**Post date:** [August 2, 2022, 1:47pm UTC](https://forums.ankiweb.net/t/refreshing-current-card/21965/1 "2022-08-02T13:47:03Z")

</div>

I created an add-on that basically appends a text at the end of the “back” side of the note during the review. But the changes are not visible immediately rather, it becomes visible after exiting and entering the review mode again. Basically, is there a command or a code piece that refresh the review page like when we manually edit the current card.

---

<div class="post-metadata">

**Author:** ![abdo](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/abdo/32/654_2.png) [@abdo](https://forums.ankiweb.net/u/abdo)\
**Post date:** [August 12, 2022, 11:46pm UTC](https://forums.ankiweb.net/t/refreshing-current-card/21965/2 "2022-08-12T23:46:54Z")

</div>

Try `mw.reviewer.refresh_if_needed()` (Not tested).

---

<div class="post-metadata">

**Author:** ![ilker](https://avatars.discourse-cdn.com/v4/letter/i/7993a0/32.png) [@ilker](https://forums.ankiweb.net/u/ilker)\
**Post date:** [August 13, 2022, 7:06am UTC](https://forums.ankiweb.net/t/refreshing-current-card/21965/3 "2022-08-13T07:06:55Z")

</div>

Unfortunately, your solution did not work out. I used `mw.reset()` instead but it didn’t do the job exactly. This command close the back of the card. What I want is refreshing should happen without closing the back of the card.

---

<div class="post-metadata">

**Author:** ![dae](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/dae/32/65_2.png) [@dae](https://forums.ankiweb.net/u/dae)\
**Post date:** [August 15, 2022, 1:59am UTC](https://forums.ankiweb.net/t/refreshing-current-card/21965/4 "2022-08-15T01:59:14Z")

</div>

\_redraw\_current\_card()

---

<div class="post-metadata">

**Author:** ![ilker](https://avatars.discourse-cdn.com/v4/letter/i/7993a0/32.png) [@ilker](https://forums.ankiweb.net/u/ilker)\
**Post date:** [August 15, 2022, 4:20am UTC](https://forums.ankiweb.net/t/refreshing-current-card/21965/5 "2022-08-15T04:20:30Z")

</div>

Thanks! It works like exactly what I want.
