Fixes the update database form.

Issue happened because we can't test a state where migration are not done.

Closes issue #341