updated production databases to postgresql