update core library
add a flatten filter