Update thumbnail.groovy

Use node id for lookup