add command for truncate history