update background styles