update some source
move meta structure from internal to defs