create new named args updating current name args

def new_named_args(self, cur_named_args: Dict[str, Any]) -> Dict[str, Any]:
        """ create new named args updating current name args"""
        named_args = cur_named_args.copy()
        named_args.update(self.matchdict)
        return named_args