clean up for fresh install or update