- Libarry ref update
- compile fixes with upgraed