Updated "update settings" bug that deleted empty fields