updating name and style change