updating to haxe3