migrating updates to dagoba.js