make version dependency dynamic