Was Syria renamed after gaining independence

No, Syria was not renamed after gaining independence. Syria has been known by that name for thousands of years and has had various iterations of governance throughout its history, including as part of the Ottoman Empire and under French mandate before gaining independence in 1946.