updated to lasted zframe api changes