update for new version of ocTemplate