adapted to client API changes
updated .gitignore