replace insert on remote call in docsender