GO:0098886: modification of dendritic spine
Any process that modifies the structure of a dendritic spine.