Updated bulk.php

Deprecated functions from older file was used. Now its working.