updating animated gif file