updated detail layout