Checkpoint: refactored the update logic
Introduced the logical dependency grouping. Fixes #65