working delete and upload market