change the node of photos