fix a bug in updateExecutor