removing references to upload