rev version and add repository field