tweaks to db upgrade
Merge remote-tracking branch 'origin/develop' into develop
checkstyle