Added some update functions to settings file