making sure xul is updated in all cases where possible