update css for img