updated avatar code