create a stat instance when creating image through proxy
remove a stat instance when image is removed.