solved the empty record after update