MSINM-159: Set the publish flag of publications updated via templates