update html summary view to use Device.latest_shot
add device foreignkey to SummaryAttribute
use device latest shot in summary attribute update