update record show and index template markup