Tried the same route again at the weekend this time I fed well before hand and ate more frequent while on the bike and filled my water bottle with an energy drink and came through it with no problems (had no rain or cold weather to contend with). Thanks for all the advice and taking the time to help
That's good.
I think you've shown very well the importance of good preparation when going out for longer rides, Nice one

.
Where I've come unstuck in the past is, when I've gone out for a 20 miler or so, I've changed my mind whilst under way and decided to extend my ride.
I've then run out of nutrition and water with no money in my pocket, out in the middle of nowhere

You think to yourself " Silly bugger" and resolve to not do it again. And then you do.

.
I've noticed that even the pros don't always get it right and that makes me feel a bit better. But no excuse really.
I'm glad your ride went well.