       isNewGroup = yes
     isPrivateGroup = 'private' is group.privacy
 
-    _updateGroupHandler =(group, formData)->
+    _updateGroupHandler =(group, formData)=>
+      log formData
+      formData.avatar = @customUrl if @customUrl
+      log formData
       group.modify formData, (err)->
         if err
           new KDNotificationView

    @settingsForm = new KDFormViewWithFields formOptions, @getData()

    avatarUploadView = @settingsForm.inputs["Avatar"]

    avatarUploadView.on 'FileReadComplete', ({file, progressEvent})->
      avatarUploadView.$('.kdfileuploadarea').css
        backgroundImage : "url(#{file.data})"
      avatarUploadView.$('span').addClass 'hidden'

    avatarUploadView.on 'FileUploadComplete', (files)->
      for {filename, resource} in files
        console.log {filename, resource}




      fields:
        "Avatar"              :
          label             : "Avatar"
          cssClass        : 'avatar'
          limit           : 1
          preview         : "thumbs"
          extensions      : null
          fileMaxSize     : 2048
          totalMaxSize    : 2048
          fieldName       : "thumbnails"
          convertToBlob   : yes
          title           : ""
          itemClass         : KDImageUploadView
          actions         : {
            big    :
              [
