consistent clean and update commands