update libraries and fixed breaking changes in ravendb