Added bulk_write