edit code change for avatar-uploader