Update style after variables