Added postgres and sqlite prediction update scripts.