updated the detail and diff page