update library Template