deps: updated a whole bunch of dependencies. adjusted implementation and tests accordingly
refactor