publish to models before on success callback