update record_detail.haml