They'll only be given H-4 status for the duration of your H-1B status. Thus, you better file for the extension of your H-1B status ASAP.