Updating the background correctly.