code: Observable<ComapiResult<Map<String, Object>>> doUpdateProfile(@NonNull final String token, @NonNull final String profileId, @NonNull final Map<String, Object> profileDetails, final String eTag) {
          return wrapObservable(!TextUtils.isEmpty(eTag) ? service.updateProfile(AuthManager.addAuthPrefix(token), eTag, apiSpaceId, profileId, profileDetails).map(mapToComapiResult()) : service.updateProfile(AuthManager.addAuthPrefix(token), apiSpaceId, profileId, profileDetails)
                  .map(mapToComapiResult()), log, "Updating profiles " + profileId);
      }
docs: Updates profile for an active session.
  
  @param token          Comapi access token.
  @param profileDetails Profile details.
  @return Observable with to perform update profile for current session.