Now call an update function whenever showing a page.