Updated client library, added new functions