update cakefile to use promises