Now EDIT_URL and DATA_URL can be directly inferred by DOC_ID if they are not given