Update resetdb to handle ManyToManyField