Updated the database to Postgresql