Invalidate cache on update.