Fix issue with updating settings