Semiparametric Inference of Censored Data with Time-dependent Covariates