updated arxiv code and template