UI, union reach tentative contract