Once you've reached a certain point, (good base, position, decent bike), I think getting faster and going further are 2 different things. If you ride with faster people you will get faster, hopefully. If you want to do long distance you can bump your mileage over a period of time.
Train specifically for what you want to do.