PR: Added update support to bulk api.

PR for #2982