destroy the organizations in the flush task
update the constants
fix a few simple validation errors