Minor upgrades and deprecation warnings reduction

- upgrade dependencies
- reduce deprecation warnings (not completed yet)