Updating sharing settings.