library template updated