update es2 structure