fix update error with unofficial releases