Update template to OuchDB