Check version, auto-update if needed