updating template for parsing directory name of measure