When updating if get something like this:

pkg: Newer FreeBSD version for package jsoncpp:
- package: 1101503
- running kernel: 1100506

Try uname -KU to get the version, and then:

pkg -o OSVERSION=1100506 update -f
pkg -o OSVERSION=1100506 upgrade