update code for repair author and updated