updating RAPTOR table template structure and injecting table row elements accordingly