Nonequilibrium dynamics of the zeta urn model