finish edit author&dynasty&work function