LP#1744996 Stamping upgrade script for record merge tracking