Add editing function to repository
Finalize repo edit