Updating dependencies. Fixes #365