update lecture32 draw rect