more updates on library template