Update server_url and submission_url with every API call, closes #312