update gif delay