Update

Update of setting location to rectangles in window