workflows: update arxiv records

To avoid duplication of code (as most of this function is equal to `send_robotupload`) we can make the mode a parameter to `send_robotupload`.

Minus the callback part though, which I am not sure should be done on updates. Perhaps checked as `if mode == "insert": add callback to params`.