update pointer to current style