Upgraded dependencies, fixed a minor issue in teamcity task