change update->extraOptions to where options;fix #1