modify text and upload api