change kvs api