updateRecord implemented