update template libraries