update rotate drawing.