optimized auto-update mechanism