edit code for news