update add repair test