Update etag and canonical URL generation