Updating to postgresql for production