Yes, you can update iOS after jailbreaking, but it will permanently remove the jailbreak and all the apps and tweaks downloaded using it. Also note that, once you update iOS, you cannot downgrade and go back to previous iOS version to jailbreak your device again.