Unions reach tentative deal with state