Fix auto-update process