database information updated to work with postgresql