The totally asymmetric exclusion process with generalized update