Update main; clean directory