add searching for parties in Update