finish 50% of the record change Function

make it work tomorrow. good night.