added message query by instance id