update trimming cmd