Update Database file