The United Nations said Thursday it would work towards helping Libya's rival factions agree on contested points preventing long-delayed presidential and legislative elections being held in the conflict-scarred nation.