Updated postgres states