updated database connection to properties file