change avatar method to display in different