update add error detection