Updating settings takes too long