remove unused code in update action