update code tag and title