Moto X as my next

I'm considering getting a Moto X when my contract is up in October, but I'm wondering if I'll be frustrated by it when the contract is up for it in 2016. It's a great phone right now, and Motorola has a great track record so far with software updates, but in two years, will it still be a great phone and will it have been forgotten about by then in terms of software updates?