change NotFound message
generalize promiseObject and first pass of Domain.update
formatting