update default domain for rest helper