update paths, img -> span