def METHOD_NAME(self, where, version):
    """Update a maven dependency in the current directory's pom.xml."""
    pwd = _POM_XML.format(where)
    tree = ElementTree.parse(pwd)
    for dep in tree.getroot().find("{0}:dependencies".format(_POM), _NS):
        g = dep.find("{0}:groupId".format(_POM), _NS)
        a = dep.find("{0}:artifactId".format(_POM), _NS)
        if g.text == "com.workiva" and a.text == "frugal":
            dep.find("{0}:version".format(_POM), _NS).text = version
    tree.write(pwd, default_namespace=_NS[_POM])