update shared styles