update the background