saving changes in dist