update css and background image