update_generaldata_by_section function

Update a specific section in generaldata.ini file