updated library template files