Removed unset vars as error in update_settings