Optimized metadata updater.