basic style update functionality