Flex reports: rework saving, updating, and viewing

from the flex report form.