update for building with dojo