udating with bounding box