Fixed deprecated method name
Updated dependencies