fix update record and render row