Update the return status to comply to PI spec.