fix the bug (update need where!!!!)