updating files for database connection