added update xml to update doi function