Updated image paths for undo and redo