add migration templates
fix plv8 config issue