text align center and update background color