<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def update_workspace_config(namespace, workspace, cnamespace, configname, body):
 """Update method configuration in workspace. Args: namespace (str):
 project to which workspace belongs workspace (str):
 Workspace name cnamespace (str):
 Configuration namespace configname (str):
 Configuration name body (json):
 new body (definition) of the method config Swagger: https://api.firecloud.org/#!/Method_Configurations/updateWorkspaceMethodConfig """

    uri = "workspaces/{0}/{1}/method_configs/{2}/{3}".format(namespace,
                                        workspace, cnamespace, configname)
    return __post(uri, json=body)