Database updated to Postgresql