update dupe check with layout name