update for pixel for loop to draw the whole thing before loop