Changed database to postegresql