I have a Jailbroken IPhone 4s 6.1.2

Options
Hello everyone. I have an jailbroken IPhone 4s 16gb 6.1.2 (10B146) and lately the apps that have been coming up now require a newer update of iOS 7 or above and my concern is what can i do here what's the next update jailbreak?? My idea was updating it to ISO 7.1.2 and then jailbreaking it again? but when I try to update or restore I get a "Error 3194, Error 17, or "This device isn't eligible for the requested build on" on Itunes. Am I doing something wrong? Is this the way that i have to do it. Please help me