refine checking downloaded update