code: @SuppressWarnings("unchecked")
      public void updateTarget(final Target updatedTarget) {
          if (updatedTarget != null) {
              final Item item = getItem(updatedTarget.getId());
              // TO DO update SPUILabelDefinitions.ASSIGNED_DISTRIBUTION_NAME_VER
              // &
              // SPUILabelDefinitions.ASSIGNED_DISTRIBUTION_NAME_VER
  
              /*
               * Update the status which will trigger the value change lister
               * registered for the target update status. That listener will
               * update the new status icon showing for this target in the table.
               */
              item.getItemProperty(SPUILabelDefinitions.VAR_TARGET_STATUS).setValue(updatedTarget.getUpdateStatus());
              /*
               * Update the last query which will trigger the value change lister
               * registered for the target last query column. That listener will
               * update the latest query date for this target in the tooltip.
               */
              item.getItemProperty(SPUILabelDefinitions.LAST_QUERY_DATE).setValue(updatedTarget.getLastTargetQuery());
  
              item.getItemProperty(SPUILabelDefinitions.VAR_LAST_MODIFIED_BY)
                      .setValue(UserDetailsFormatter.loadAndFormatLastModifiedBy(updatedTarget));
              item.getItemProperty(SPUILabelDefinitions.VAR_LAST_MODIFIED_DATE)
                      .setValue(SPDateTimeUtil.getFormattedDate(updatedTarget.getLastModifiedAt()));
              item.getItemProperty(SPUILabelDefinitions.VAR_DESC).setValue(updatedTarget.getDescription());
  
              /* Update the new Name, Description and poll date */
              item.getItemProperty(SPUILabelDefinitions.VAR_NAME).setValue(updatedTarget.getName());
          }
      }
docs: To update target details in the table.
  
  @param updatedTarget
  as reference