Update Database class