Script to automatically updae