updated to latest versions
update all deprecated funcs after npm update