adding updateRecordInplace