update css and img