Can you confirm if the updates were synced to Target correctly, OR were there any errors showing the sync failures?
Also, the custom code/modifications cannot be retrieved form the Target UI.
Also, please ensure to click on save on the modifications tab before you save the activity.
Regards,
Karan