diff calculated automatically when new image