Update library template