Refactor some constants in UpdateCheck