Update the isExpired attribute after every user action