appserver: debug regID insert vs update