Why the heck did you wait this long? I'm 40 as well and frankly I never considered even once letting my skills go out of date. You don't wait for the last two months to plan for what's next. You watch hundreds of hours of videos and learn all the time. There are 16 hours in a waking day. There are at least 4 you could have spent learning something new. In 2015 if you aren't practically an object oriented expert, you shouldn't be in the business. You've had 25 years to learn those skills.
I would honestly consider claiming unemployment and going back to the university for a semester of object oriented programming, design patterns, and data structures.
Oh, by the way, 40 isn't aging. I'm 40 and just got started.