fixed a bug of updating scripts with same `@updateURL` and `@downloadURL`