update css for images