Update history onResume