bumped some dependencies
fixed deprecation warnings
removed redundant code