I have a db with a foreign key (that auto-increments) and an "active" flag, and when I insert a new entry, I want to update the active flag to 0 for all entries with a