Update annotation insertion function. (#20)