schema avatar changes from attachment to string