Removed unnecessary update function.