update the gif