Replacing embeds and returning to the view without saving to the database

You can use Ecto.Changeset.apply_changes/1

But you should consider whether you want to show this data to the user if the update operation fails for any reason, i.e. bad data or database failure