Run on update.