updated builder process to work with nested resources for new and updating ballots