Upgraded to Postgresql for database