Persist flash message in update and create, and redirect after create based on flash