There's already a kobalt plugin that synchronizes...
# kobalt
c
There's already a kobalt plugin that synchronizes your dependencies, did you try it?