update template animation helper