change the pi detail layout