edit command data