updated how pictures are rendered