Fix problem when try to update the module dependencies.