update code for article