update inline code api