update record/detail design