Updating bulk for new spec

The bulk API changed so I'm refactoring it.