@RequestMapping(
      value = Routes.RETAIL_CUSTOMER_MEMBER,
      method = RequestMethod.PUT,
      consumes = "application/atom+xml",
      produces = "application/atom+xml")
  @ResponseBody
  public void update(
      HttpServletResponse response,
      @PathVariable Long applicationInformationId,
      @RequestParam Map<String, String> params,
      InputStream stream)
      throws IOException, FeedException {
    RetailCustomer retailCustomer = retailCustomerService.findById(applicationInformationId);

    if (retailCustomer != null) {
      try {

        RetailCustomer newRetailCustomer = retailCustomerService.importResource(stream);
        retailCustomer.merge(newRetailCustomer);
      } catch (Exception e) {
        System.out.printf(
            "***** Error Caused by RetailCustomer.x.IndentifiedObject need: %s", e.toString());
        response.setStatus(HttpServletResponse.SC_BAD_REQUEST);
      }
    }
  }