def update!(new_answers = {})
      unless new_answers.is_a?(Hash)
        raise PDK::CLI::FatalError, _('Answer file can be updated only with a Hash')
      end

      answers.merge!(new_answers)

      save_to_disk
    end
def update!(new_answers = {})
      unless new_answers.is_a?(Hash)
        raise PDK::CLI::FatalError, _('Answer file can be updated only with a Hash')
      end

      answers.merge!(new_answers)

      save_to_disk
    end
Update the stored answers in memory and then save them to disk.

 @param new_answers [Hash{String => Object}] The new questions and answers
   to be merged into the existing answers.

 @raise [PDK::CLI::FatalError] if the new answers are not provided as
   a Hash.
 @raise (see #save_to_disk)