add update to update dist folder instead of clean up.