updating template library