Syncronized block for read and update for re-oids to solve type and type_def common oids issue