add delete and update function for style management