edit style implementation