Updated add attachment migration