instead is indeed correctly used there, though a comma wouldn't hurt. It's commonly used when you say that someone believed one thing and turned out to be wrong. We thought we had finally finished the project.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.