Refactor new-fact. Moves validations from update.clj to postgres.clj