Remove unnecessary code after sheet update