updated sharing server code for new bk v1.1