fix wrong code example for insert method