more fixes to observer for the record to be updated