Updating class on Image