Implemented updateRecord to records can be updated for the localstore datasource