Fixing batch & spec

updated the batch_resource