update cmd interface