Set version to dependency