added avatar xml create code