Fixed Update and error scenario by passing errored model back
to the edit method and render the flash messages