Updated qp promise return.

Now allows for callback.