promisify commit