def update(self, task_name, task_json):
r = self.gbdx_connection.put(self._base_url + '<STR_LIT:/>' + task_name, json=task_json)<EOL>raise_for_status(r)<EOL>return r.json()<EOL>
Updates a GBDX task.

        Args:
            task_name (str): Task name.
            task_json (dict): Dictionary representing updated task definition.

        Returns:
            Dictionary representing the updated task definition.