Update chains structures
- Fixes chains structure parsing
- Fix Semaphore node parsing