edit code, and add news detail