Changing employer while H4 approval is pending

The H4 approval for my dependents are pending and their I94 is expired. I have valid H1B. Can I change the employer without putting the legal stay status of my dependents at risk? My new employer will file H1 and H4 both.