Fixed the bug of preRecord updating