fixing the auto upated file problem