remove unused code from update