UPDATE_MANY updating and refactoring bulk api