'update a project'

def update(self):

    if (self.config.config_options['display_name']['value'] is not None):
        self.project.update_annotation('display-name', self.config.config_options['display_name']['value'])
    if (self.config.config_options['description']['value'] is not None):
        self.project.update_annotation('description', self.config.config_options['description']['value'])
    if (self.config.config_options['node_selector']['value'] is not None):
        self.project.update_annotation('node-selector', self.config.config_options['node_selector']['value'])
    return self._replace_content(self.kind, self.config.name, self.project.yaml_dict)
