uodate editor code