update cases
delete tmp