Updates sprite image and css.