Remove unnecessary update statements