update update code for shortcode 1.0.0