updateBackground Method