def update_nsval(<EOL>self, *, nsval: str = None, ns: str = None, val: str = None<EOL>) -> None:
if not (ns and val) and nsval:<EOL><INDENT>(ns, val) = nsval.split("<STR_LIT::>", <NUM_LIT:1>)<EOL><DEDENT>elif not (ns and val) and not nsval:<EOL><INDENT>log.error("<STR_LIT>")<EOL><DEDENT>self.namespace = ns<EOL>self.value = val<EOL>
Update Namespace and valueast.

        Args:
            nsval: e.g. HGNC:AKT1
            ns: namespace
            val: value of entity