added back updateRectOfInterest