Updated bulk.php

Deprecated functions from older file was used. Now its working.
Merge pull request #776 from mgp25/patch-4

Updated bulk.php