Fix the 'update' method usage