To update/change company GST number go to the settings >> Click on company details >> Update the GSTIN number >> Click on fetch detail >>Click on save and update.
Note: These changes will be reflected in your old documents as well.