call setupDetails to update the details view when a row is updated