updated dependencies, some code style