convert avatar to has_many