Fixing auto-update