Updating details in config file