Optimized Update script and WP-CLI setup