Update draw rectangle.jsx