update code to check authors