added setAvatar command