The top United Nations refugee official has wrapped up a visit to Lebanon by urging authorities to improve conditions for refugees living there, while urging the governments in Iraq and elsewhere to create conditions so that the displaced can return to their homelands.