Removed unused update code. Fixes #6