update akrib library and examples