I think the most efficient way to update the objects is to use bulk_update twice. Since the sets in your example are disjoint, each object will be updated only once.
Running a single bulk_update would require an if condition to handle different cases, which introduces additional processing overhead
.